﻿using Gaea.CodeFirst;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xunit;

namespace Gaea.Test
{
    public class GaeaCodeFirstFacts
    {

        [Fact]
        public async void GetTableNameTest()
        {
            var a = await GetTableInfo.GetTableField<test>();
            Assert.Equal("String", a["test1"]);
            Assert.Equal("Int32", a["test2"]);
        }
    }
}
